package com.yeung.exam;

import java.util.Scanner;

public class 快手_集合划分问题 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int[] input = new int[n];
        for (int i = 0; i < n; i++) {
            input[i] = sc.nextInt();
        }
        int[] dp = new int[n+1];
        for(int i=0;i<n;i++){
            for (int j = 0; j < input[i]; j--) {

            }
        }

    }

}
